/*
 * Copyright (c) 2008, Xiong Yingfei, the University of Tokyo All rights
 * reserved.
 */
package ac.jp.u_tokyo.SyncLib.language;

import java.io.IOException;
import java.util.HashMap;

public abstract class Const
{
	int line;

	public Const(int line)
	{
		super();
		this.line = line;
	}
	
	public int getLine() { return line;}

	public abstract void write(Appendable sb, ConstMapper constMap)
			throws ReferenceNotFoundException, IOException;
	
	//	public void evaluate(Program p) throws EvaluationFailedException {
	//		
	//	}
}
